<template>
  <span slot="footer" class="dialog-footer">
    <div class="text-input">
      <div class="title">审核意见</div>
      <el-input type="textarea" :rows="2" placeholder="填写信息受理意见，打回时必填。" v-model="textarea"></el-input>
    </div>
    <div class="bt-group">
      <el-button @click="dialogVisible = false">打回</el-button>
      <el-button type="primary" @click="dialogVisible = false">通过</el-button>
    </div>
  </span>
</template>
<script>
export default {
  data() {
    return {
      dialogVisible: false,
      textarea: "",
      //动态组件
      com: "Success",
    };
  },
};
</script>
<style lang="less" scoped>
.dialog-footer {
  .text-input {
    display: flex;
    margin-bottom: 20px;
    .title {
      width: 80px;
      height: 80px;
      font-size: 14px;
      line-height: 22px;
      color: rgba(51, 51, 51, 1);
      background: rgba(242, 242, 242, 1);
      border: 1px solid rgba(221, 221, 221, 1);
      padding: 18px 22px 0px 25px;
      white-space: normal;
    }
    > .el-textarea {
      /deep/ .el-textarea__inner {
        min-height: 80px !important;
        width: 1000px;
        padding-left: 9px;
      }
    }
  }
  .bt-group {
    display: flex;
    justify-content: flex-end;
    .el-button--default {
      width: 80px;
      height: 36px;
      background: rgba(251, 54, 63, 1);
      border-radius: 3px;
      border: 1px solid rgba(251, 54, 63, 1);
      padding: 0;
      color: #ffffff;
    }
    .el-button--primary {
      padding: 0;
      color: #ffffff;
      width: 80px;
      height: 36px;
      background: rgba(61, 127, 255, 1);
      border-radius: 3px;
    }
  }
}
</style>